package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 攻略多级评论
 */
@Getter
@Setter
public class StrategySecondaryComment extends BaseDomain{
    //上级评论
    private StrategyComment strategycomment;
    //评论内容
    private String content;
    //评论时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date creatTime;
    //评论人
    private User fromUser;
    //被评论人
    private User toUser;
}